package or.exa.cangguan.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class EmployeeDto {
    /**
     * id
     */
    private Integer id;

    /**
     * 工人id
     */
    private String employeeCode;

    /**
     * 工人名称
     */
    private String employeeName;

    /**
     * 工人年龄
     */
    private Integer employeeAge;

    /**
     * 工人性别：f女性、m男性
     */
    private String employeeSex;

    /**
     * 工人岗位：001管理员、002作业组长、003作业员
     */
    private String employeeDuty;

    /**
     * 创建时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 创建人id
     */
    private String createName;

    /**
     * 修改时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 修改人id
     */
    private String updateName;

    private static final long serialVersionUID = 1L;
}
